#!/usr/bin/env ruby

lookup = Hash.new('unintelligible')
lookup.merge!({
    'rb' => 'Ruby',
    'cs' => 'C#',
    'java' => 'Java',
    'css' => 'CSS',
    'htm' => 'HTML',
    'html' => 'HTML',
    'c' => 'C',
    'cpp' => 'C++',
    'vb' => 'Visual Basic'
})

filepath = ARGV.first
extension = filepath.split(".").last
lang = lookup[extension]

puts '*' * 80
puts "That is the shyte #{lang} code."
puts "You are the worst #{lang} that I have ever seen!"
puts "You are so SHYTE!!"
puts '*' * 80
